package com.heima.model.behavior.pojos;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cjh
 * @since 2024-11-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("be_behavior")
public class BeBehavior implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long articleId;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer authorId;

    private Integer userId;
    @JSONField(name = "isLike")
    private Integer isLike;
    @JSONField(name = "isUnlike")
    private Integer isUnlike;
    @JSONField(name = "isCollection")
    private Integer isCollection;
    private Integer count;

}
